#include <iostream>

//C语言语法进阶 三目运算符
int main() {
    int a, b,max;
    while (scanf("%d%d", &a, &b)) {
        max = a > b ? a : b;//条件运算符的优先级高于赋值运算符
    }
    printf("max=%d", max);
    return 0;
}
